package com.example.springboot_study.dao.secondary;

import com.example.springboot_study.entity.primary.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : liqun
 * @createTime : 2021/9/22 15:25
 */
@Mapper
public interface JtaSecondaryMapper {
    public int update(@Param("name") String name, @Param("age") Integer age);
    public List<User> query(String name);
}
